using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Doctors_WebForum.UIControl.Contents
{
    public partial class Post : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            /*if (Request["PostID"] != null)
            {
                //Display post detail if id > 0
                if (Convert.ToInt32(Request["PostID"]) > 0)
                {
                    pnlAddPost.Visible = false;                    
                }
                //Add new post
                if (Request["action"] != null && Request["action"].ToString().Equals("add"))
                {
                    pnlPostDetail.Visible = false;
                }
        
            }
            else
            {
                //Response.Redirect("../../Default.aspx");
                Response.Write("AAAA");
            }*/
            
        }
    }
}